<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/4 0004
 * Time: 下午 5:00
 */
namespace app\themes\adminlte2;
use yii\web\AssetBundle;

/**
 * @author chan <maclechan@qq.com>
 * @since 2.0
 */
class AppAsset extends AssetBundle
{
//    public $basePath = '@webroot';
//    public $baseUrl = '@web';

    const  name = 'adminlte2';
    const  themeId = 'adminlte2';
    public $sourcePath = '@app/themes/'. self::themeId. '/assets';
    //全局CSS
    public $css = [

        'css/morris.css',
    ];
//全局JS
    public $js = [
        'js/raphael.min.js',
        'js/morris.min.js',
    ];
    public $jsOptions = ['position' => \yii\web\View::POS_END];
    public $depends = [
        'app\themes\adminlte2\AdminltePluginsAsset'
    ];
//    //依赖关系
//    public $depends = [
//        'yii\web\YiiAsset',
//        'yii\bootstrap\BootstrapAsset',
//    ];



}
?>